<div  class="jlb_products_upload_dialog jlb_dialog">
    <?php
    $this->widget('ext.jqueryupload.JQueryUploadWidget', array(
        'url' => Yii::app()->createUrl("/products/manageUpload/upload"),
        'model' => $model,
        'attribute' => 'image',
        'multiple' => true,
        'options' => array(
            'acceptFileTypes' => 'js:/(\.|\/)(gif|jpe?g|png)$/i',
        ),
        'htmlOptions' => array(
            'class' => 'jlb_row jform'
        ),
        'htmlUIOptions' => array(
            'htmlHeader' => '<input type="hidden" name="'.get_class($model).'[product_id]" id="'.get_class($model).'_product_id" value="'.$_GET['product_id'].'">',
			'classFileUploadButtonBar'	=>	'fileupload-buttonbar ui-widget-header ui-corner-top',
			'classFileInputButton'		=>	'fileinput-button btn btn-primary ui-button',
			'classFileUploadContent'	=>	'fileupload-content ui-widget-content ui-corner-bottom',
			//'classFileInputButton'		=>	'btn-success',
        )
    ));
    ?>
	
	<div class="jlb_row jlb_row_bottom jform jlb_align_center">
		<a class='btn' href="<?php echo Yii::app()->createUrl("/products/manageProductImages/admin", array('product_id' => $_GET['product_id'])); ?>">&lt; Back to Manage Products Images</a>
		<a class='btn' href="#" onclick="$('.start button').click();return false;">Start Upload</a>
	</div>
	
</div>
<script type="text/javascript">
/*
    $(document).ready(function(){
        $('.jform').jqTransform();
    });
*/
</script>